<?php
namespace app\common\validate;

use think\Validate;

class SpecValue extends Validate {
    protected $rule = [
        'spec_id'=>'require',
        'spec_value'=>'require'
    ];

    protected $message = [
        'spec_id.require'=>'请选择规格',
        'spec_value.require'=>'请输入规格值'
    ];
}